package com.example.zx_springboot.service;

import com.example.zx_springboot.entity.Zxcustomer;
import com.example.zx_springboot.entity.Zxloss;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ZxCustomerService {
    List<Zxcustomer> getallcustomer();

    PageInfo findByPage(Integer pageNum, Integer pageSize, String customerName);

    void addcustomer(Zxcustomer zxcustomer);

    void updatecustomer(Zxcustomer zxcustomer);

    void deletecustomer(Integer customer_num);

    void deletescustomer(List<Integer> ids);

    List<Zxloss> losscustomer();

    PageInfo lossfindByPage(Integer pageNum, Integer pageSize, String customerName);

    void updateloss(Zxloss zxloss);

    void deleteloss(Integer customer_id);

    void deletelosses(List<Integer> loss_ids);

    void addloss(Zxloss zxloss);
}
